package com.marvels.loanapply.dao;

import com.github.pagehelper.Page;
import com.marvels.approve.task.dto.LoanUpdateDto;
import com.marvels.financial.loan.dto.LoanBankTransactionDto;
import com.marvels.financial.pay.bfpay.dto.BankTransactionDto;
import com.marvels.loanapply.dto.AcLoanApplyInfoDTO;
import com.marvels.loanapply.dto.ApprovalProcessConditionDTO;
import com.marvels.loanapply.dto.ApprovalProcessInfoDTO;
import com.marvels.loanapply.dto.LoanExtDataDTO;

import java.util.List;

public interface AcLoanApplyInfoDao {


	/**
	 * 查询扩展数据
	 * @param dto
	 * @return
	 */
	public LoanExtDataDTO selectLoanExtData(LoanExtDataDTO dto);

	/**
	 * 查询进件列表
	 * @param dto
	 * @return
	 */
	public List<ApprovalProcessInfoDTO> loanListQuery(ApprovalProcessConditionDTO dto);

	/**
	 * 查询进件列表
	 * @param dto
	 * @return
	 */
	public List<LoanUpdateDto> loanListUpdateQuery(ApprovalProcessConditionDTO dto);


	/**
	 * 修改进件信息
	 * @param acLoanApplyInfo
	 * @return
	 */
	public int modifyAcLoanApplyInfo (AcLoanApplyInfoDTO acLoanApplyInfo);

	public int insertMcamLoanBankFlow(List<BankTransactionDto> list);

	public Page<BankTransactionDto> mcamLoanBankFlowQuery(LoanBankTransactionDto loanBankTransactionDto);

	public int updateMcamLoanBankFlow(BankTransactionDto bankTransactionDto);
}
